Universal Properties
The universal properties are defined by the following constants. You can call URLSetProperty
to set the value of some of these properties. The properties that can be set are indicated in the description that follows.
const char* kURLURL = "URLString";
const char* kURLResourceSize = "URLResourceSize";
const char* kURLLastModifiedTime = "URLLastModifiedTime";
const char* kURLMIMEType = "URLMIMEType";
const char* kURLFileType = "URLFileType";
const char* kURLFileCreator = "URLFileCreator";
const char* kURLCharacterSet = "URLCharacterSet";
const char* kURLResourceName = "URLResourceName";
const char* kURLHost = "URLHost";
const char* kURLAuthType = "URLAuthType";
const char* kURLUserName = "URLUserName";
const char* kURLPassword = "URLPassword";
const char* kURLStatusString = "URLStatusString";
const char* kURLIsSecure = "URLIsSecure";
const char* kURLCertificate = "URLCertificate";
const char* kURLTotalITems = "URLTotalItems";
Constant Descriptions
-
kURLURL
-
The URL name string.
-
kURLResourceSize
-
The total size of the data at the location specified by the URL.
-
kURLLastModifiedTime
-
The last time the data was modified.
-
kURLMIMEType
-
The MIME type of the data.
-
kURLFileType
-
The file type as specified in a call to URLOpen
. If a call to URLOpen
does not specify a file,
kURLFileType
returns a file type compatible with the MIME type.
-
kURLFileCreator
-
The file creator as specified in a call to URLOpen
. If a call to
URLOpen
does not specify a file,
kURLFileCreator
returns a creator that is compatible with the MIME type.
-
kURLCharacterSet
-
The character set the URL uses, as returned by the HTTP server.
-
kURLResourceName
-
The name associated with the data to be downloaded.
-
kURLHost
-
The host on which the data is located.
-
kURLAuthType
-
The type of authentication that the download operation requires. The default authentication type is
kUserNameAndPasswordFlag
.
-
kURLUserName
-
The user name used for authentication. You can set this property.
-
kURLPassword
-
The password used for authentication. You can set this property.
-
kURLStatusString
-
The string that contains the stream's current status. You can use this property to display the status.
-
kURLIsSecure
-
A Boolean variable that specifies whether the download operation is secure.
-
kURLCertificate
-
The certificate provided by a remote server.
-
kURLTotalItems
-
The total number of items being uploaded or downloaded
.
© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)